package com.vast.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;


@Document("tb_problem")
public class ProblemEntity implements Serializable {

    @Id
   private String problemId;
    /**
     * 问题内容
     */
   private String problemContent;

    /**
     * 问题点击率
     */
    private Integer  clickRate;
    /**
     * 问题创建时间
     */
    private String createTime;

    /**
     * 问题用户ID
     */
    private Integer userId;
    /**
     * 问题用户名称
     */
    private String userName;
    /**
     * 问题用户名称
     */
    @TableField(exist = false)
    private Integer pageNum;
    /**
     * 问题用户名称
     */
    @TableField(exist = false)
    private Integer pageSize;

 public void setProblemId(String problemId) {
  this.problemId = problemId;
 }

 public void setProblemContent(String problemContent) {
  this.problemContent = problemContent;
 }

 public void setClickRate(Integer clickRate) {
  this.clickRate = clickRate;
 }

 public void setCreateTime(String createTime) {
  this.createTime = createTime;
 }

 public void setUserId(Integer userId) {
  this.userId = userId;
 }

 public void setUserName(String userName) {
  this.userName = userName;
 }

 public void setPageNum(Integer pageNum) {
  this.pageNum = pageNum;
 }

 public void setPageSize(Integer pageSize) {
  this.pageSize = pageSize;
 }

 public String getProblemId() {
  return problemId;
 }

 public String getProblemContent() {
  return problemContent;
 }

 public Integer getClickRate() {
  return clickRate;
 }

 public String getCreateTime() {
  return createTime;
 }

 public Integer getUserId() {
  return userId;
 }

 public String getUserName() {
  return userName;
 }

 public Integer getPageNum() {
  return pageNum;
 }

 public Integer getPageSize() {
  return pageSize;
 }
}
